package com.dy.lock.screen.dao;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.AdvertTagRelationInfo;

public interface AdvertTagRelationDao extends
		BaseDao<AdvertTagRelationInfo, String> {

	/**
	 * 通过广告id查询标签结果集合
	 * 
	 * @param adIds
	 * @return
	 */
	public List<AdvertTagRelationInfo> queryByAdId(String adId);

	/**
	 * 通过广告标签查询广告
	 * 
	 * @param map
	 * @return
	 */
	public List<String> queryByAdTag(Map<String, Object> map);

}
